package com.weidong.zk.mapper;

import com.weidong.zk.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author weidong
 * @Email weidong2012@qq.com
 * @Date 2020/3/20 19:07
 * @Description DDD
 */
@Mapper
public interface UserMapper {

    List<User> getAllUsers();

    int addUser(User user);

    int deleteUser(User user);
}
